<?php
/**
 * FBA发货单物流（国内发fba）
 * (model)
 */

namespace App\Models\Delivery;

use App\Models\Basics\ExpressChannel;
use App\Models\Basics\ExpressCompany;
use Illuminate\Database\Eloquent\Model;
class FBADeliveryLogistics extends Model
{
    protected $table = 'd_fba_delivery_logistics';

    protected $guarded = [];

    public $timestamps = false;

    public function delivery(){
        return $this->belongsTo(FBADelivery::class,'delivery_no','delivery_no');
    }

    public function express_company(){
        return $this->belongsTo(ExpressCompany::class,'express_company_id');
    }

    public function express_channel(){
        return $this->belongsTo(ExpressChannel::class,'express_channel_id');
    }
}
